<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/top::head">
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div th:replace="/common/top::header">

</div>
<div id="Content">
  <div id="Main" style="display: flex;margin: auto;flex-direction: column;align-items: center">
    <table >
      <tr>
        <td>用户名</td>
        <td th:text="${session.user.getUserId()}"></td>
      </tr>
      <tr>
        <td>昵称</td>
        <td th:text="${session.user.getNickName()}"></td>
      </tr>
      <tr>
        <td>注册时间</td>
        <td th:text="${session.user.getRegisterTimestamp()}"></td>
      </tr>
    </table>
    <a href="EditInfoController">修改资料</a>
    <a href="../cart/AddressController">地址管理</a>
  </div>
</div>

<div th:replace="common/bottom">

</div>
</body>
</html>